package cn.moningxi.service.impl;

import cn.moningxi.bean.OComment;
import cn.moningxi.mapper.OCommentMapper;
import cn.moningxi.service.OCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OCommentServiceImpl implements OCommentService {
    @Autowired
    OCommentMapper oCommentMapper;

    @Override
    public List<OComment> getCommentByUid(String customerId) {
        return oCommentMapper.getCommentByUid(customerId);
    }
}
